import request from "../../utils/request"
const clockIn=(id)=>{
    return request({//打卡
        url:`/user/clockIn/${id}`,
        method:"post",
    })
}

const getClockIn=(id)=>{
    return request({//获取打卡记录
        url:`/user/getCar/${id}`,
        method:"get",
    })
}

const attendanceList=()=>{
    return request({//获取考勤记录
        url:`/attendance/list`,
        method:"get",
    })
}
const attendanceCount=()=>{
    return request({//获取考勤记录
        url:`/attendance/count`,
        method:"get",
    })
}

export {clockIn,getClockIn,attendanceList,attendanceCount}